<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="generator" content="Adobe RoboHelp - www.adobe.com">
<title>Adding auto text codes to documents</title>
<link rel="stylesheet" href="userhelp_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!--
if (navigator.appName !="Netscape")
{   document.write("<link rel='stylesheet' href='userhelp.css'>");}
//-->
</script>
<style type="text/css">
<!--
ul.whs1 { list-style:disc; }
ol.whs2 { list-style:decimal; }
p.whs3 { margin-left:40px; }
p.whs4 { margin-left:0px; }
-->
</style><script type="text/javascript" language="JavaScript">
<!--
if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
{
  var strNSS = "<style type='text/css'>";
  strNSS += "p.whs4 {margin-left:1pt; }";
  strNSS +="</style>";
  document.write(strNSS);
}
//-->
</script>
<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
<!--
function reDo() {
  if (innerWidth != origWidth || innerHeight != origHeight)
     location.reload();
}
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
	origWidth = innerWidth;
	origHeight = innerHeight;
	onresize = reDo;
}
onerror = null; 
//-->
</script>
<style type="text/css">
<!--
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
-->
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
<script type="text/javascript" language="javascript" src="whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
<script type="text/javascript" language="javascript1.2" src="whlang.js"></script>
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
</head>
<body><script type="text/javascript" language="javascript1.2">
<!--
if (window.gbWhTopic)
{
	if (window.addTocInfo)
	{
	addTocInfo("Creating and modifying documents and dashboards\nCreating and formatting a document\nAdding and editing text and data in a document\nAdding auto text codes to documents\nAdding auto text codes to documents");
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");

	}
	if (window.writeBtnStyle)
		writeBtnStyle();

	if (window.writeIntopicBar)
		writeIntopicBar(1);

	if(1)
	{
	
	}

	if (window.setRelStartPage)
	{
	setRelStartPage("MicroStrategy_Web_Help.htm");

		autoSync(1);
		sendSyncInfo();
		sendAveInfoOut();
	}
}
else
	if (window.gbIE4)
		document.location.reload();

//-->
</script>
<h1>Adding auto text codes to documents</h1>
<p>Auto text codes allow you to print variable information related to documents, 
 such as page numbers, current date and time, and report filter details.</p>
<p>For a description of each code, see the following:</p>
<ul type="disc" class="whs1">
	
<li class=p><p>
<a HREF="Auto_text_codes_documents.htm">Auto text codes 
 for documents</a> </p></li>
	
<li class=p><p>
<a HREF="Auto_text_codes_datasets.htm">Auto text codes 
 for datasets</a> </p></li>
</ul>
<p>For more information on and examples of auto text codes, see the <span 
 style="font-style: italic;"><I>MicroStrategy Report Services</I></span> <span 
 style="font-style: italic;"><I>Document Creation Guide</I></span>. </p>
<h2>To add an auto text code to a document</h2>
<ol type="1" class="whs2">
	
<li class=p><p>Open the document in <span style="font-weight: bold;"><B>Design 
 </B></span>or <span style="font-weight: bold;"><B>Editable Mode</B></span>.</p></li>
	
<li class=p><p>Expand the section where you want the auto text code 
 by clicking the plus sign next to the section name.</p></li>
	
<li class=p><p>From the <span style="font-weight: bold;"><B>Insert</B></span> 
 menu, select <span style="font-weight: bold;"><B>Auto-text</B></span>, then select 
 the auto text code to insert. The text field is added at the top left 
 corner of the selected section, although you can move the text field to 
 any desired position. </p></li>
</ol>
<p class="whs3"><span style="font-weight: bold;"><B>Note</B></span>: 
 To add an auto text code to an existing text field, edit the text field 
 (select it and press F2) and then add the auto text. You may need to resize 
 the text field to view the auto text.</p>
<ol start="4" type="1" class="whs2">
	
<li class=p><p class="whs4">To type the auto text code 
 manually, insert a blank text field and type the code within braces { 
 }. As with data fields, if an object's name contains spaces or special 
 characters, enclose it in square brackets [ ] within the braces.</p></li>
</ol>
<p>When you view the document as a PDF, the code is replaced with the information 
 from the document or dataset.</p>
<h3>Related topics</h3>
<ul type="disc" class="whs1">
	
<li class=p><p>
<a HREF="Add_page_numbers_to_document.htm">Adding page 
 numbers to a document</a></p></li>
</ul>
<ul type="disc" class="whs1">
	
<li class=p><p>
<a HREF="Add_data_fields_to_document.htm">Adding data 
 fields to a document</a></p></li>
	
<li class=p><p>
<a href="Combining_types_of_text_fields.htm">Combining 
 different types of text fields in documents</a></p></li>
	
<li class=p><p>
<a HREF="Editing_text_fields.htm">Editing text fields</a></p></li>
</ul>
<script type="text/javascript" language="javascript1.2">
<!--
highlightSearch();
if (window.writeIntopicBar)
	writeIntopicBar(0);
if(0)
{

}
//-->
</script>
</body>
</html>
